package com.kba.test;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.config.AutowireCapableBeanFactory;
import org.springframework.test.AbstractDependencyInjectionSpringContextTests;

public abstract class BaseTestCase extends AbstractDependencyInjectionSpringContextTests {
    protected final Log log = LogFactory.getLog(getClass());

    public BaseTestCase() {
        super.setAutowireMode(AutowireCapableBeanFactory.AUTOWIRE_BY_NAME);
    }

    protected String[] getConfigLocations() {
        return new String[]{"classpath*:/springbeans-*.xml"};
    }
}
